export function showMessage(title) {
	return uni.showToast({
		title: title,
		icon:'none',
		duration: 2000
	});
}

export function showModal(title) {
	return uni.showModal({
		title: title,
		content: '这是一个模态弹窗',
		error: function (res) {
			if (res.confirm) {
				console.log('用户点击确定');
			} else if (res.cancel) {
				console.log('用户点击取消');
			}
		}
	});
}